package com.cskaoyan.service;

import com.cskaoyan.dao.UserDao;
import com.cskaoyan.dao.UserDaoImpl;

public class UserServiceImpl2 implements UserService{
    //UserMapper userMapper;//可以从Spring容器中来
    UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void sayHello() {
        System.out.println("学长好");
    }
}
